PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowHeadingContent Class / setLevel Method
An integer value greater than 0 and smaller than or equal to 8.
In This Topic
    setLevel Method
    In This Topic
    Sets the heading level (1 to 8).
    Level 1 is the top most heading, level 2 headings are children of level 1 and so on.
    The level information is used to build the document's outline tree and to generate correctly the heading number if method is true.
    Syntax
    public void setLevel( 
       int value
    )

    Parameters

    value
    An integer value greater than 0 and smaller than or equal to 8.
    See Also